Skip to content

[CMake] Fix package CMO capability checking logic #3013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Mar 11, 2025

Package CMO requires '-enable-library-evolution' in 6.1+ compilers.

swiftlang/swift#79884 but for swift-syntax repository.

Note that this is not used in compiler build because CMakeLists.txt in swift repository provides the result by FetchContent. This is for swift-syntax is built for other scenarios that wants to build swift-syntax as a LE enabled library, which pretty unlikely happpens.

Package CMO requires '-enable-library-evolution' in 6.1+ compilers.
@rintaro
Copy link
Member Author

rintaro commented Mar 11, 2025

@swift-ci Please test

@rintaro rintaro merged commit 9787cd2 into swiftlang:main Mar 12, 2025
25 checks passed
@rintaro rintaro deleted the cmake-rdar146673779 branch March 12, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants